package com.own.component.store.core.exception;

import com.own.base.BaseResponseCode;
import com.own.component.common.exception.BusinessException;
import com.own.component.store.core.em.StoreExceptionEnum;

/**
 * StoreException 缓存异常
 *
 * @author chenxueli
 * @date 2022-06-15 03:14:15
 */
public class StoreException extends BusinessException {

    public StoreException() {
        super(StoreExceptionEnum.DEFAULT);
    }

    public StoreException(String message) {
        super(StoreExceptionEnum.DEFAULT.code(), message);
    }

    public StoreException(String code, String message) {
        super(code, message);
    }

    public StoreException(BaseResponseCode responseCode) {
        super(responseCode);
    }

}
